package www;



import java.util.Scanner;

public class SalesClerk {
        String[] java = new String[2];
        public SalesClerk(){
            java[0] = "java";
            java[1] = "math";
        }
        public static void func(){

        }
        public static void main(String[] args) {
            SalesClerk salesClerk = new SalesClerk();
            while(true){
                System.out.println("你想咨询哪一类书籍");
                Scanner scan = new Scanner(System.in);
                String no = scan.nextLine();
                if(no.equals(salesClerk.java[0])){
                    System.out.println("《Java程序设计》");
                }
            }



        }
    }

}
